<?php

use Illuminate\Database\Seeder;

class BlocksTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('blocks')->delete();
        
        \DB::table('blocks')->insert(array (
            0 => 
            array (
                'id' => 1,
                'object_id' => '1593921820130870',
                'group' => 0,
                'type' => 'slide',
                'template' => 'default',
                'title' => '首页幻灯',
                'icon' => '',
                'more_title' => '',
                'more_link' => '',
                'content' => '{"mark":"1"}',
                'created_op' => 1,
                'updated_op' => 1,
                'created_at' => '2018-05-25 10:59:25',
                'updated_at' => '2018-05-25 10:59:25',
            ),
            1 => 
            array (
                'id' => 2,
                'object_id' => '1593926806514812',
                'group' => 0,
                'type' => 'hotArticle',
                'template' => 'default',
                'title' => '企业新闻',
                'icon' => '',
                'more_title' => '更多',
                'more_link' => '/article/list_2_1.html',
                'content' => '{"category_id":"1","display":"4"}',
                'created_op' => 1,
                'updated_op' => 1,
                'created_at' => '2018-05-25 10:59:25',
                'updated_at' => '2018-05-25 10:59:25',
            ),
            2 => 
            array (
                'id' => 3,
                'object_id' => '1593929822441295',
                'group' => 0,
                'type' => 'hotArticle',
                'template' => 'default',
                'title' => '成功案例',
                'icon' => '',
                'more_title' => '更多',
                'more_link' => '/article/list_3_2.html',
                'content' => '{"category_id":"2","display":"4"}',
                'created_op' => 1,
                'updated_op' => 1,
                'created_at' => '2018-05-25 10:59:25',
                'updated_at' => '2018-05-25 10:59:25',
            ),
            3 => 
            array (
                'id' => 4,
                'object_id' => '1593930272075407',
                'group' => 0,
                'type' => 'hotArticle',
                'template' => 'default',
                'title' => '本周热议',
                'icon' => '',
                'more_title' => '',
                'more_link' => '',
                'content' => '{"category_id":"3","display":"10"}',
                'created_op' => 1,
                'updated_op' => 1,
                'created_at' => '2018-05-25 10:59:25',
                'updated_at' => '2018-05-25 10:59:25',
            ),
        ));
        
        
    }
}